home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / dvtools / examples / fds / fdseval / vumiscfuns.h < prev   
C/C++ Source or Header  |  1997-05-08  |  6KB  |  163 lines

  1. /***
  2. *** 
  3. ***/
  4. #ifndef VUMISCFUNS_H
  5. #define VUMISCFUNS_H
  6.  
  7. #include "std.h"
  8. #include "dvstd.h"
  9.  
  10. #include "dvtools.h"
  11. #include "VOstd.h"
  12. #include "dvGR.h"
  13.  
  14.  
  15. /* VU/VUarray.c */
  16. ADDRESS VUgetArrayElem V_P_((ADDRESS *Array,  LONG ElemSize,
  17.      LONG *ArraySize,  LONG Index));
  18. BOOLPARAM VUsetArrayElem V_P_((ADDRESS *Array,  LONG ElemSize,
  19.      LONG *ArraySize,  LONG Index,  ADDRESS NewElem,  LONG Delta));
  20.  
  21. /* VU/VUatom.c */
  22. char *VUInternString V_P_((char *string));
  23.  
  24. /* VU/VUconfgdat.c */
  25. void VUconfigDataInit V_P_((void));
  26.  
  27. /* VU/VUconfig.c */
  28. BOOLPARAM VUconfigInit V_P_((int num_names,  ADDRESS com[]));
  29. BOOLPARAM VUconfigTerm V_P_((int num_names,  ADDRESS com[]));
  30. BOOLPARAM VUconfigGet V_P_((char *filename,  int num_names,  ADDRESS vars,
  31.      ADDRESS com[]));
  32.  
  33. /* VU/VUcpyright.c */
  34. void VUcopyright V_P_((void));
  35.  
  36. /* VU/VUdevice.c */
  37. int VUopendev_clut V_P_((char name[], char *clutfile));
  38. int VUopendev_set V_P_((char *name, char *clutfile, ...));
  39. int VUopendevice V_P_((char name[]));
  40. void VUon_copyright V_P_((void));
  41. void VUoff_copyright V_P_((void));
  42. void VUclosedevice V_P_((int LogicalDevice));
  43. int VUgetdevnum V_P_((int LogicalDevice));
  44. int VUgetdevindex V_P_((int PhysicalDevice));
  45. int VUrgbtoindex V_P_((int LogicalDevice,  int r,  int g,  int b));
  46. void VUindextorgb V_P_((int LogicalDevice,  int index,  int *r,  int *g,
  47.      int *b));
  48. void VUloadclut V_P_((char *filename));
  49. void VUsetdevtbls V_P_((short *logical_tbl,  short *phys_tbl,
  50.      int vu_numdev));
  51.  
  52. /* VU/VUdvstd.c */
  53. RGB_SPEC *VUrgbCreate V_P_((void));
  54. void VUrgbDelete V_P_((RGB_SPEC *rgb));
  55. void VUrgbPutFields V_P_((RGB_SPEC *rgb,  int rgb_rep_flag,  int blue,
  56.      int green,  int red));
  57. void VUrgbGetFields V_P_((RGB_SPEC *rgb,  char *rgb_rep_flag,  char *blue,
  58.      char *green,  char *red));
  59. COLOR_SPEC *VUcspCreate V_P_((void));
  60. void VUcspDelete V_P_((COLOR_SPEC *csp));
  61. void VUcspPutFields V_P_((COLOR_SPEC *csp,  LONG color_index,
  62.      RGB_SPEC *rgb_rep));
  63. void VUcspGetFields V_P_((COLOR_SPEC *csp,  LONG *color_index,
  64.      RGB_SPEC *rgb_rep));
  65. COLOR_THRESHOLD *VUcltCreate V_P_((void));
  66. void VUcltDelete V_P_((COLOR_THRESHOLD *clt));
  67. void VUcltPutFields V_P_((COLOR_THRESHOLD *clt,  int upperlimit,
  68.      COLOR_SPEC *threshcolor));
  69. void VUcltGetFields V_P_((COLOR_THRESHOLD *clt,  int *upperlimit,
  70.      COLOR_SPEC *threshcolor));
  71. PLR_POINT *VUplrCreate V_P_((void));
  72. void VUplrDelete V_P_((PLR_POINT *plr));
  73. void VUplrPutFields V_P_((PLR_POINT *plr,  int radius,  int angle));
  74. void VUplrGetFields V_P_((PLR_POINT *plr,  int *radius,  int *angle));
  75. DV_POINT *VUpntCreate V_P_((void));
  76. void VUpntDelete V_P_((DV_POINT *pnt));
  77. void VUpntPutFields V_P_((DV_POINT *pnt, DV_COORD x, DV_COORD y));
  78. void VUpntGetFields V_P_((DV_POINT *pnt, DV_COORD *x, DV_COORD *y));
  79. RECTANGLE *VUrecCreate V_P_((void));
  80. void VUrecDelete V_P_((RECTANGLE *rec));
  81. void VUrecPutFields V_P_((RECTANGLE *rec,  DV_COORD ll_x,  DV_COORD ll_y,
  82.      DV_COORD ur_x,  DV_COORD ur_y));
  83. void VUrecGetFields V_P_((RECTANGLE *rec,  DV_COORD *ll_x,  DV_COORD *ll_y,
  84.      DV_COORD *ur_x,  DV_COORD *ur_y));
  85.  
  86. /* VU/VUexit.c */
  87. /* -- in std.h: void VUexit V_P_((int status)); */
  88.  
  89. /* VU/VUfcheck.c */
  90. int VUfread_check V_P_((char *filename));
  91. int VUfwrite_check V_P_((char *filename));
  92. int VUfexist_check V_P_((char *filename));
  93.  
  94. /* VU/VUinitHpSz.c */
  95. void VUinitInitialHeapSize V_P_((ADDRESS com[]));
  96.  
  97. /* VU/VUmem.c */
  98. /* -- in std.h: void VUfree V_P_((ADDRESS addr)); */
  99. /* -- in std.h: ADDRESS VUmalloc V_P_((LONG size)); */
  100. /* -- in std.h: ADDRESS VUrealloc V_P_((ADDRESS ptr, LONG size)); */
  101.  
  102. /* VU/VUmessage.c */
  103. BOOLPARAM VUmsgAdd V_P_((ADDRESS tap,  char *text,  int color));
  104. BOOLPARAM VUmsgDelete V_P_((ADDRESS tap,  LONG m1,  LONG m2));
  105. BOOLPARAM VUmsgClear V_P_((ADDRESS tap));
  106. BOOLPARAM VUmsgDisplay V_P_((ADDRESS tap,  LONG first,  BOOLPARAM scr,
  107.      RECTANGLE **vplist));
  108. int VUmsgInit V_P_((ADDRESS tap,  LONG initsize,  LONG initnmsg,
  109.      LONG delta));
  110. BOOLPARAM VUmsgTerm V_P_((ADDRESS tap));
  111. int VUmsgHandle V_P_((ADDRESS tap));
  112.  
  113. /* VU/VUrand.c */
  114. void VUsrand V_P_((int seed));
  115. LONG VUrand V_P_((void));
  116. double VUfrand V_P_((void));
  117.  
  118. /* VU/VUsrchPath.c */
  119. BOOLPARAM VUsetSearchPath V_P_((char *SearchPath));
  120. BOOLPARAM VUaddSearchPath V_P_((char *Path,  BOOLPARAM Append));
  121. BOOLPARAM VUgetSearchPath V_P_((char **SearchPath));
  122.  
  123. /* VU/VUvdtrav.c */
  124. void VUvdtraverse V_P_((ADDRESS vdp, VUVDTRVRSFUNPTR fcn));
  125.  
  126. /* VU/VUvostd.c */
  127. ATTRIBUTES *VUattrCreate V_P_((void));
  128. void VUattrDelete V_P_((ATTRIBUTES *attr));
  129. void VUattrPutFields V_P_((ATTRIBUTES *attr,  OBJECT *fg_clr,
  130.      OBJECT *bg_clr,  char *ln_width,  char *ln_type,  char *fill_status,
  131.      char *tx_dir,  char *tx_pos,  char *tx_font,  char *tx_size,  char *arc_dir,
  132.      char *crv_type,  char *tx_fname,  float *tx_width,  float *tx_height,
  133.      float *tx_angle,  float *tx_slant,  float *tx_char,  float *tx_line,
  134.      char *ob_name,  RECTANGLE *node_bounds,  char *edge_type,  char *prop_fill,
  135.      short *fill_amount));
  136. void VUattrGetFields V_P_((ATTRIBUTES *attr,  OBJECT *fg_clr,
  137.      OBJECT *bg_clr,  char *ln_width,  char *ln_type,  char *fill_status,
  138.      char *tx_dir,  char *tx_pos,  char *tx_font,  char *tx_size,  char *arc_dir,
  139.      char *crv_type,  char **tx_fname,  float *tx_width,  float *tx_height,
  140.      float *tx_angle,  float *tx_slant,  float *tx_char,  float *tx_line,
  141.      char **ob_name,  RECTANGLE **node_bounds,  char *edge_type,
  142.      char *prop_fill,  short *fill_amount));
  143. FLOAT_POINT *VUfloat_ptCreate V_P_((void));
  144. void VUfloat_ptDelete V_P_((FLOAT_POINT *flt_pt));
  145. void VUfloat_ptPutFields V_P_((FLOAT_POINT *flt_pt,  double x,
  146.      double y));
  147. void VUfloat_ptGetFields V_P_((FLOAT_POINT *flt_pt,  float *x,
  148.      float *y));
  149.  
  150. /* VU/VUvplist.c */
  151. RECTANGLE **VUvlCreate V_P_((RECTANGLE *invp,  RECTANGLE **outvps));
  152. RECTANGLE **VUvlCopy V_P_((RECTANGLE **clipvps));
  153. void VUvlDestroy V_P_((RECTANGLE **clipvps));
  154.  
  155. /* VU/VUwe.c */
  156. void VUweReportEvent V_P_((WINEVENT *we, int level));
  157.  
  158. /* VU/VUxopen.c */
  159. FILE *VUxopen V_P_((FILE *(*func)(),  char *filename,  char *type,
  160.      char *filepath,  int separator,  char **exp_name));
  161.  
  162. #endif /*VUMISCFUNS_H*/
  163.